<?php
/**
 * @package Flipper Open Source New Generation Blogging
 * @author Flipper Team <code@flipper.com>
 * @copyright Flipper Inc , 2011
 * @version 1.0
 * @name index.php
 */

 /*** security define ***/
 define ('Flipper', TRUE);

/*** site path ***/
 define ('BASE_PATH', realpath(dirname(__FILE__)));

  /*** application folder path ***/
 define ('APP_PATH','blog');

 /*** system folder path ***/
 define ('SYS_PATH','system');

 /*** separator ***/
 define('SP','/');

 /*** extension ***/
 define('EXP','.php');

 /*** version ***/
 define('FLIPPER_VERSION','1.0');


/*** require init.php file  ***/
 $init_file = BASE_PATH . SP . SYS_PATH . SP . 'init'. EXP;
 
 if( file_exists( $init_file ) ) {

    require_once $init_file;

 } else {

     exit('Failed to load ' . $init_file);
     
 }

?>
